package com.sxhuayuan.parking.dao;

import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import com.sxhuayuan.parking.entity.Settings;

public interface SettingsDao extends BaseDao<Settings, Long> {

	@Modifying
	@Query(value = "update hypk_settings set value=?2 where name=?1", nativeQuery = true)
	void save(String name, String value);
}
